<foreach name="dis" item="d">
    <div class="gdlist mt20">
        <div class="gdl">
            <a href="{$d.ad_url}">
                <img src="{$d.image_url}" class="bord mals">
            </a>
        </div>
        <div class="gdr">
            <div class="gtit">
                <span>{$d.title}</span>
            </div>
            <div class="EA4899 f18">
                <a href="{$d.ad_url}" class="ms">{$d.intr}</a>
            </div>
            <div class="gtit">
                <span class="f16">活动时间：{$d.stime|date='Y.m.d',###}-{$d.etime|date='Y.m.d',###}</span>
            </div>
            <div class="gtit">
                <span class="f14 f6" id="share" data-title="{$d.mall.name}" data-summary="{$d.intr} {$d.stime|date='Y.m.d',###}-{$d.etime|date='Y.m.d',###}" data-url="__SITE_URL__{:U('/'.$d['mall']['initial'])}">
                    <span class="share_txt f14">分享给好友:</span>
                    <a class="share share_tsina" data-webid="tsina"></a>
                    <a class="share share_tqq" data-webid="tqq"></a>
                    <a class="share share_renren" data-webid="renren"></a>
                    <a class="share share_qzone" data-webid="qzone"></a>
                </span>
            </div>
        </div>
        <div class="fn-clear"></div>
    </div>
</foreach>
<script type="text/javascript">
    $(".share").share();
</script>